<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:a4j="http://richfaces.org/a4j">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.EditProductbacklogTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="proedmessagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.EditProductbacklogLabel_scrumprojekt}" for="scrumprojekt" />
                    <h:selectOneMenu id="scrumprojekt" value="#{productbacklogController.selected.scrumprojekt}" title="#{bundle.EditProductbacklogTitle_scrumprojekt}" >
                        <f:selectItems value="#{scrumprojektController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.EditProductbacklogLabel_productbacklogid}" for="productbacklogid" />
                    <h:outputLabel id="productbacklogid" value="#{productbacklogController.selected.productbacklogid}" title="#{bundle.EditProductbacklogTitle_productbacklogid}" required="true" requiredMessage="#{bundle.EditProductbacklogRequiredMessage_productbacklogid}"/>
                    <h:outputLabel value="#{bundle.EditProductbacklogLabel_backlogbezeichnung}" for="backlogbezeichnung" />
                    <h:inputText id="backlogbezeichnung" value="#{productbacklogController.selected.backlogbezeichnung}" title="#{bundle.EditProductbacklogTitle_backlogbezeichnung}" required="true" requiredMessage="#{bundle.EditProductbacklogRequiredMessage_backlogbezeichnung}"/>
                    <h:outputLabel value="#{bundle.EditProductbacklogLabel_backlogbeschreibung}" for="backlogbeschreibung" />
                    <h:inputText id="backlogbeschreibung" value="#{productbacklogController.selected.backlogbeschreibung}" title="#{bundle.EditProductbacklogTitle_backlogbeschreibung}" />
                    <h:outputLabel value="#{bundle.EditProductbacklogLabel_backlogbeginn}" for="backlogbeginn" />
                    <h:inputText id="backlogbeginn" value="#{productbacklogController.selected.backlogbeginn}" title="#{bundle.EditProductbacklogTitle_backlogbeginn}" required="true" requiredMessage="#{bundle.EditProductbacklogRequiredMessage_backlogbeginn}">
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.EditProductbacklogLabel_backlogende}" for="backlogende" />
                    <h:inputText id="backlogende" value="#{productbacklogController.selected.backlogende}" title="#{bundle.EditProductbacklogTitle_backlogende}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                </h:panelGrid>
                <a4j:commandLink render="backlogpanel" action="#{productbacklogController.update}" value="#{bundle.EditProductbacklogSaveLink}"/>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
